package com.zzyl.service;


import com.zzyl.base.PageResponse;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

public interface NursingProjectService {

    //分页查询
    PageResponse<NursingProjectVo> selectByPage(String name, Integer pageNum, Integer pageSize, Integer status);

    //查询所有护理项目
    List<NursingProjectVo> selectAll();

    //新增护理项目
    void create(NursingProject nursingProject);

    //根据id查询护理项目
    NursingProject read(Long id);

    //修改护理项目
    void update(NursingProject nursingProject);

    //修改护理项目状态
    void updateStatus(Long id, Integer status);

    //删除护理项目
    void delete(Long id);
}
